import { Button } from "antd"

import { useLocale } from "@/locales"

const SubmitButton = (props: any) => {
	const { formatMessage } = useLocale()
	return (
		<Button type="primary" {...props}>
			{formatMessage({ id: "label.submit" })}
		</Button>
	)
}

export default SubmitButton
